{% if field.field.widget.bootstrap %}
    {% with bootstrap=field.field.widget.bootstrap %}
        {% include "bootstrap_toolkit/field_prepend_append.html" with prepend=prepend|default:bootstrap.prepend|default:"" append=append|default:bootstrap.append|default:"" %}
    {% endwith %}
{% else %}
    {% include "bootstrap_toolkit/field_prepend_append.html" %}
{% endif %}
